package com.imooc.shell.enums;

import lombok.Getter;

/**
 * 商品状态
 *
 */
@Getter // getCode()  getMessage()
public enum  ProductStatusEnum implements CodeEnum {
    UP(0,"在架"),
    DOWN(1,"下架")
    ;
    private Integer code;
    private String message;

   ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
